package cn.youframe.frame.service;

import cn.youframe.frame.beans.CommTypeVO;
import cn.youframe.frame.beans.CommTypeValVO;

import java.util.List;
import java.util.Map;

/**
 * User: Administrator
 * DateTime: 13-2-18: 下午4:07
 */
public interface DictService {
    public void initCache();
    public List<CommTypeVO> queryTypes();
    public int addType(CommTypeVO typeVO);
    public int doUpdateType(Map<String,String> typeVal);
    public int doDelType(String typeId);
    public List<CommTypeValVO> getTypeVals(String typeId,String typeKind);
}
